/**
 * FileName: DeptService
 * Author: Administrator
 * Date: 2018/11/21 18:30
 * Description:
 */
package com.cym.service;

import com.cym.bean.Department;
import com.cym.dao.DepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptService {
    @Autowired
    private DepartmentMapper departmentMapper;
    public List<Department> getInfo() {
       return departmentMapper.selectByExample(null);
    }
}
